// -------------------------------------------------------------------------
//    @FileName         :    NFGameServerNet_ServerPlugin.cpp
//    @Author           :    LvSheng.Huang
//    @Date             :    2012-07-14 08:51
//    @Module           :    NFGameServerNet_ServerPlugin
//
// -------------------------------------------------------------------------


#include "NFRebotServerPlugin.h"
#include "NFRebotModule.h"
//
//
#ifdef NF_DYNAMIC_PLUGIN

NF_EXPORT void DllStartPlugin(NFIPluginManager* pm)
{

    CREATE_PLUGIN(pm, NFRebotServerPlugin)

};

NF_EXPORT void DllStopPlugin(NFIPluginManager* pm)
{
    DESTROY_PLUGIN(pm, NFRebotServerPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int NFRebotServerPlugin::GetPluginVersion()
{
    return 0;
}

const std::string NFRebotServerPlugin::GetPluginName()
{
    return GET_CLASS_NAME(NFProxyServerNet_ServerPlugin);
}

void NFRebotServerPlugin::Install()
{
    REGISTER_MODULE(pPluginManager, NFRebotModule, NFRebotModule)
}

void NFRebotServerPlugin::Uninstall()
{
    UNREGISTER_MODULE(pPluginManager, NFRebotModule, NFRebotModule)
}